package com.napenalki.toto.service;

import java.util.List;

public class IllegalEntryException extends RuntimeException {

    private static final long serialVersionUID = -10612844731296758L;

    private final List<String> issues;

    public IllegalEntryException() {
        this.issues = null;
    }
    
    public IllegalEntryException(String message) {
        super(message);
        this.issues = null;
    }

    public IllegalEntryException(List<String> issues) {
        this.issues = issues;
    }
    
    public List<String> getIssues() {
        return issues;
    }
}
